<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>狂神说</title>
    <!--1.导入vue.js-->
    <script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.min.js"></script>

</head>
<body>

<div id="app">
    <li v-for="item in items">
        {{item.message}}
    </li>
</div>

<script>
    let app = new Vue({
        el: '#app',
        data: {
            items: [
                {message: '狂神说Java'},
                {message: '狂神说前端'},
                {message: '狂神说运维'}
            ]
        }
    });
</script>

</body>
</html>